#!/usr/bin/env python
#coding: utf-8
#

from multiprocessing import Process,Pool

def Foo():
	print 'this iS fOO'
	return 'hello'
def Foo2(arg):
	print arg
	print 'chobit is '
pool = Pool(10)

re = pool.apply(Foo)
rb = pool.apply_async(func=Foo,callback=Foo2)
rb.get()